package com.yang.bean.zdd.bo;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;

/**
 * @ClassName UpdateKeywordBo
 * @Description TODO
 * @Author zhangdongdong
 * @Date 2022/9/7 14:09
 * @Version 1.0
 */
@NoArgsConstructor
@Data
public class UpdateKeywordBo {
    private int id;
    private String keyword;
    private String url;
    @JsonProperty("isHot")
    private boolean isHot;
    @JsonProperty("isDefault")
    private boolean isDefault;
    private int sortOrder;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date addTime;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date updateTime;

    private String deleted;
}
